<h1>Listing web_wrappers</h1>

<table>
  <tr>
    <th>Url regex</th>
    <th>Test url</th>
    <th>Xpath</th>
  </tr>

<% for web_wrapper in @web_wrappers %>
  <tr>
    <td><%=h web_wrapper.url_regex %></td>
    <td><%=h web_wrapper.test_url %></td>
    <td><%=h web_wrapper.xpath %></td>
    <td><%= link_to 'Show', web_wrapper %></td>
    <td><%= link_to_remote 'Test',:url => {:controller =>'web_wrappers', :action => 'test', :id=>web_wrapper.id}, :update=>'test_div'  %></td>
    <td><%= link_to 'Edit', edit_web_wrapper_path(web_wrapper) %></td>
    <td><%= link_to 'Destroy', web_wrapper, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>
  <div id="test_div"></div>
<br />

<%= link_to 'New web_wrapper', new_web_wrapper_path %>
